package com.mini.client;

import com.mini.vo.BusinessResult;
import com.mini.vo.ClassInfoWithOrder;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;
import java.util.Set;

@FeignClient(name = "mini-data-attn")
public interface MiniDataAttnClient {


    /**
     * 查询订单号对应的班次信息
     * @param sig
     * @param map
     * @return
     */
    @GetMapping(value = "order/bigClass")
    BusinessResult<List<ClassInfoWithOrder>> getBigClassByOrder(@RequestHeader("sig") String sig,
                                                                @RequestBody Map map);

}
